package com.oa.bean.teaching;

import java.util.Date;
import java.util.Set;

import com.oa.bean.work.Emp;

/*
 * 研讨会管理表
 */
public class Seminar {
	private int disid;// 研讨id
	private String discon;// 研讨内容
	private Date distime;// 研讨会时间
	private int empid; // 主讲教师。员工id
	private String dispro;// 研讨问题
	private String diskey;// 解决方案

	private Emp emp;// 一个研讨会对应一个主讲教师
	
	private Set<Classes> classes; //多个学期对应多个班级

	public Set<Classes> getClasses() {
		return classes;
	}

	public void setClasses(Set<Classes> classes) {
		this.classes = classes;
	}

	public Emp getEmp() {
		return emp;
	}

	public void setEmp(Emp emp) {
		this.emp = emp;
	}

	public Seminar() {
	}

	public Seminar(int disid, String discon, Date distime, int empid, String dispro, String diskey) {
		super();
		this.disid = disid;
		this.discon = discon;
		this.distime = distime;
		this.empid = empid;
		this.dispro = dispro;
		this.diskey = diskey;
	}

	public int getDisid() {
		return disid;
	}

	public void setDisid(int disid) {
		this.disid = disid;
	}

	public String getDiscon() {
		return discon;
	}

	public void setDiscon(String discon) {
		this.discon = discon;
	}

	public Date getDistime() {
		return distime;
	}

	public void setDistime(Date distime) {
		this.distime = distime;
	}

	public int getEmpid() {
		return empid;
	}

	public void setEmpid(int empid) {
		this.empid = empid;
	}

	public String getDispro() {
		return dispro;
	}

	public void setDispro(String dispro) {
		this.dispro = dispro;
	}

	public String getDiskey() {
		return diskey;
	}

	public void setDiskey(String diskey) {
		this.diskey = diskey;
	}

	@Override
	public String toString() {
		return "Seminar [disid=" + disid + ", discon=" + discon + ", distime=" + distime + ", empid=" + empid
				+ ", dispro=" + dispro + ", diskey=" + diskey + "]";
	}

}
